package com.scu.gkvr_system_backend.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * 专业类型表
 * @TableName major_type
 */
@TableName(value ="major_type")
@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
public class MajorType implements Serializable {
    /**
     * 专业类型ID
     */
    @TableId(type = IdType.AUTO)
    private Integer mtId;

    /**
     * 专业名称
     */
    private String mtName;



    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}